<?php
/**
 * 视图控制器
 */
namespace app\manage\controller\apply;

use app\manage\controller\Base;

class Show extends Base
{
	public function member(){
        $params = $this->request->param();
        // 筛选参数
        $whereFields = ['page','start','end'];
        // 参数数组
        $whereData = [];
        foreach($whereFields as $field):
            if(isset($params[$field]))
                $whereData[$field] = $params[$field];
        endforeach;

        // 页面信息
        $pageData = ['title'=>'报单中心申请审核'];

        $this->assign('pageData',$pageData);
        $this->assign('whereData',$whereData);
        return view();
    }

    public function charge(){
        $params = $this->request->param();
        // 筛选参数
        $whereFields = ['page','start','end'];
        // 参数数组
        $whereData = [];
        foreach($whereFields as $field):
            if(isset($params[$field]))
                $whereData[$field] = $params[$field];
        endforeach;

        // 页面信息
        $pageData = ['title'=>'充值审核'];

        $this->assign('pageData',$pageData);
        $this->assign('whereData',$whereData);
        return view();
    }

    public function withdraw(){
        $params = $this->request->param();
        // 筛选参数
        $whereFields = ['page','start','end'];
        // 参数数组
        $whereData = [];
        foreach($whereFields as $field):
            if(isset($params[$field]))
                $whereData[$field] = $params[$field];
        endforeach;
        
        // 页面信息
        $pageData = ['title'=>'提现审核'];

        $this->assign('pageData',$pageData);
        $this->assign('whereData',$whereData);
        return view();
    }
}